import React from 'react';
import {Path,Circle,G,LinearGradient} from "react-native-svg";


export default class AnimArc extends React.Component{

  render(){
    const {x,y,d,color,width,startX,circleStartY,circleR} = this.props
    return(
      <G>
        <Path
          d={d}
          stroke={color}
          strokeWidth={width}
          fill="none"
        />
        <Circle
          cx={startX}
          cy={circleStartY}
          r={circleR}
          fill={color}
        />
        <Circle
          cx={x}
          cy={y}
          r={circleR}
          fill={color}
        />
      </G>
    )
  }
}
